package com.jgzx.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@ApiModel(value = "更新数据状态请求DTO")
@Data
public class IDStatusDTO {

    @ApiModelProperty(value = "ID主键", required = true)
    @NotNull(message = "ID不能为空")
    private Long id;

    @ApiModelProperty(value = "状态：1-正常，0-禁用", required = true)
    @NotNull(message = "状态不能为空")
    private Integer status;
}
